package seueniumfordemoiselle.seleniumsimplify.tests;

import org.openqa.selenium.Speed;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.AfterSuite;
import org.testng.annotations.BeforeSuite;

public class BaseTest {

	WebDriver driver;
	
	@BeforeSuite
	public void iniciaSuiteTeste(){
		this.driver = new FirefoxDriver();
		this.driver.manage().setSpeed(Speed.SLOW);
	}
	
	@AfterSuite
	public void terminaSuiteTeste(){
		this.driver.close();		
	}
}
